home *** CD-ROM | disk | FTP | other *** search
- on mouseWithin me
- set mySprite to the spriteNum of me
- set myMember to the member of sprite mySprite
- set myMouseW to word the mouseWord of field myMember
- if myMouseW contains "http" then
- set myCastNum to the number of member "BtnUpMano0"
- set myMaskNum to the number of member "BtnUpManoMask"
- cursor([myCastNum, myMaskNum])
- else
- cursor(-1)
- end if
- end
-
- on mouseLeave
- cursor(-1)
- end
-
- on mouseDown me
- global gArancio, gBlu
- if the frameLabel = "Uscita" then
- exit
- end if
- set mySprite to the spriteNum of me
- set myMember to the member of sprite mySprite
- set myMouseW to the mouseWord
- set myPage to word myMouseW of field myMember
- if myPage contains "http" then
- repeat while the stillDown and (myMouseW = the mouseWord)
- set the foreColor of word myMouseW of field myMember to gArancio
- updateStage()
- end repeat
- set the foreColor of word myMouseW of field myMember to gBlu
- updateStage()
- if myMouseW = the mouseWord then
- set vai to 1
- else
- set vai to 0
- end if
- if vai = 1 then
- gotoNetPage(myPage, "NewPage")
- set the mouseUpScript to EMPTY
- set the timeoutScript to EMPTY
- go(the frame)
- end if
- else
- if the frameLabel <> "Uscita" then
- GoLista()
- end if
- end if
- end
-